'''
Created on 23/11/2010

@author: Nami
'''

import gameobjects
from gameobjects.vector2 import Vector2
from bk.pygame.ships.game.base.Xml2Obj import *

EFFECT_INVERT_CONTROLS = 0
EFFECT_SCALE_TIME = 1
EFFECT_PUSH = 2
EFFECT_SCALE_SIZE = 3
EFFECT_ATTRACT = 4
EFFECT_ROTATE = 5
EFFECT_PARALIZED = 6
EFFECT_INVISIBLE = 7
EFFECT_SCALE_ENERGY = 8
EFFECT_INVULNERABLE = 9
EFFECT_VULNERABLE = 10
EFFECT_SCALE_DAMAGE = 11
EFFECT_TRAIL = 12
EFFECT_FOLLOW = 13

class Effects(object):
    '''
    classdocs
    '''

    eff = {}

    parent = None
    data = None

    def add_effect(self, effect):
        pass

    def remove_effect(self, effect_class):
        pass

    def get_effect(self, effect_class):
        pass
    
    def get_all_effects(self, effect_class):
        pass

    def update(self, elapsed):
        pass

    def __init__(self,parent,data):
        '''
        Constructor
        '''
        self.parent = parent
        self.data = data